//
// AtaRequest.h
// Usage: Defines the data structures needed to store a request.
// From: jimix
// ImportDate: 2009-04-27
//
#ifndef _ATAREQUEST_H_
#define _ATAREQUEST_H_

class AtaRequest
{
public:
	AtaRequest(unsigned long address, unsigned long size, char *buffer, class AtaDevice *disk, int partition, bool isWrite)
	: address(address), size(size), buffer(buffer), disk(disk), partition(partition), isWrite(isWrite), completed(false)
	{ }
  
	unsigned long address;
	char *buffer;
	unsigned long size;
	class AtaDevice *disk;
	int partition;
	bool isWrite;
	bool completed;
};

#endif


